var $_ = function (_0xb2fdx2) {
	return document['getElementById'](_0xb2fdx2);
};
String['prototype']['GetPart'] = function (_0xb2fdx3) {
	var _0xb2fdx4 = new RegExp('(^|&)' + _0xb2fdx3 + '=([^&]*)(&|$)');
	var _0xb2fdx5 = this['substr'](this['indexOf']('?') + 1)['match'](_0xb2fdx4);
	if (_0xb2fdx5 != null) {
		return unescape(_0xb2fdx5[2]);
	};
	return null;
};

function ANCMedia() {
	_lg = szk['id']['logo'];
	dl = szk['id']['link'];
	pl = szk['id']['player'];
	tp = szk['id']['sv'];
	playing = szk['id']['dx'];
	home = szk['id']['home'];

	function _0xb2fdx7() {
		m_data = $_(dl)['innerHTML'];
		r_left = '<div id="r_data" style="display:none !important;" title="Data here !">';
		r_right = '</div>';
		m_data = m_data['replace'](/\&lt;id\&gt;/gi, r_left);
		m_data = m_data['replace'](/\&lt;\/id\&gt;/gi, r_right);
		m_data = m_data['replace'](/\[id\]/gi, r_left);
		m_data = m_data['replace'](/\[\/id\]/gi, r_right);
		$_(dl)['innerHTML'] = m_data;
		m_data = $_('r_data')['innerHTML'];
		return m_data;
	};
	data = _0xb2fdx7();
	l_spi = data['split']('|')['length'];
	l_spk = function (_0xb2fdx2) {
		return data['split']('|')[_0xb2fdx2]['split'](';')['length'];
	};
	d_spi = function (_0xb2fdx2) {
		return data['split']('|')[_0xb2fdx2];
	};
	d_spk = function (_0xb2fdx2, _0xb2fdx8) {
		return data['split']('|')[_0xb2fdx2]['split'](';')[_0xb2fdx8];
	};
	part = new Array();
	pc = ['0', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's'];
	ab = '';
	part_ep = '';
	data_out = '';
	svl = 'youtube.com,anc.yl,anc.mp4,anc.flv,megafun.vn,phimvang.org,you.bay68,ps1.bay68,ps2.bay68,ps3.bay68,picasaweb.google.com,dailymotion.com,zing.vn,4shared.com,clip.vn,videobb.com,videozer.com,zippyshare.com,novamov.com,twitvid.com,cyworld.vn,24video.net,movshare.net,veoh.com,blip.tv,sendspace.com,speedyshare.com,rolo.vn,tunescoop.com,eyvx.com,banbe.net,truongxua.vn,videobam.com,nhaccuatui.com,mediafire.com,vimeo.com,viddler.com,vidxden.com,xvideos.com,free18.net,nuvid.com,youjizz.com,eporner.com,gaytube.com,megafilex.com,porn.com,pornhub.com,pornoxo.com,redtube.com,slutload.com,spankwire.com,tnaflix.com,tube8.com,vtraxe.com,xhamster.com,xtube.com,xxxstash.com';
	svt = 'Youtube,Gdata,MP4,FLV,Megafun,Phimvang,VietNam,VIP,Dream,Bay68,Picasa,Daily,Zing,4shared,Clip,Videobb,Videozer,Zippyshare,Novamov,Twitvid,Cyworld,24video,Movshare,Veoh,Blip,Sendspace,Speedyshare,Rolo,Tunescoop,Eyvx,Banbe,Truongxua,Videobam,Nhaccuatui,Mediafire,Vimeo,Viddler,Vidxden,Xvideos,Free18,Nuvid,Youjizz,Eporner,Gaytube,Megafilex,Porn,Pornhub,Pornoxo,Redtube,Slutload,Spankwire,Tnaflix,Tube8,Vtraxe,Xhamster,Xtube,Xxxstash';
	sv = svl['split'](',');
	ten_sv = svt['split'](',');
	this['Play'] = function () {
		for (var _0xb2fdx9 = 0; _0xb2fdx9 & lt; ten_sv['length']; _0xb2fdx9++) {
			var _0xb2fdxa = ten_sv[_0xb2fdx9]['split']('.')[0];
			if (_0xb2fdxa == '') {
				_0xb2fdxa = home;
			};
			part[_0xb2fdx9] = '<li class="sev">+Server ' + _0xb2fdxa + ':</li>';
		};
		for (var _0xb2fdxb = 0; _0xb2fdxb & lt; l_spi; _0xb2fdxb++) {
			name_ep = d_spk(_0xb2fdxb, 0);
			for (var _0xb2fdxc = 0; _0xb2fdxc & lt; l_spk(_0xb2fdxb); _0xb2fdxc++) {
				link_ep = d_spk(_0xb2fdxb, _0xb2fdxc);
				number_ep = Number(d_spk(_0xb2fdxb, 0));
				number_epp = '';
				if (_0xb2fdxb & gt; 0) {
					number_epp = Number(d_spk((_0xb2fdxb - 1), 0));
				};
				if (l_spk(_0xb2fdxb) == 2) {
					ab = '';
					part_ep = '';
				}
				else {
					ab = pc[_0xb2fdxc];
					part_ep = '-' + _0xb2fdxc;
				};
				(number_ep) ? name_eppart = name_ep + ab : name_eppart = name_ep + part_ep;
				if (d_spk(_0xb2fdxb, _0xb2fdxc) != '') {
					for (var _0xb2fdx9 = 0; _0xb2fdx9 & lt; sv['length']; _0xb2fdx9++) {
						(d_spk(_0xb2fdxb, _0xb2fdxc)['indexOf'](sv[_0xb2fdx9]) != -1) ? part[_0xb2fdx9] += '<li onclick="M.Load(\'' + link_ep + '\',\'' + name_eppart + '\');" class="ep"><a class="a_tap" rel="' + home + ':' + name_eppart + '" title="' + name_eppart + '" href="?p=' + _0xb2fdxb + '/' + _0xb2fdxc + '/' + name_eppart['replace'](/ /gi, '_') + '">&nbsp;' + name_eppart + '&nbsp;</a></li><!--ANCMedia Part-->' : false;
					};
				};
			};
		};
		data_out += '<div id="list_tap">';
		if (l_spi & gt; = 2) {
			for (var _0xb2fdx9 = 0; _0xb2fdx9 & lt; sv['length']; _0xb2fdx9++) {
				(part[_0xb2fdx9]['indexOf']('ANCMedia') != -1) ? data_out += '<ul id=\'' + _0xb2fdx9 + '\'>' + part[_0xb2fdx9] + '<div style=\'clear:both;\' ></div></ul>' : false;
			};
		}
		else {
			data_out += '<ul><li class="sev">+Server Home:</li>' + '<li class="ep"><a class="a_tap" rel="' + home + ': Xem Full" title="Xem Full" href="javascript:M.Load(\'' + data + '\',\'Full_time\');">Xem Full</a></li></ul>';
		};
		data_out += '<div class="clear" /></div>';
		$_(tp)['innerHTML'] = data_out;
	};
	this['Load'] = function (_0xb2fdx2, _0xb2fdx8) {
		obj = '';
		name_ep = '';
		if (_0xb2fdx2['indexOf'](sv[0]) != -1) {
			_0xb2fdx2 = _0xb2fdx2['replace'](/\/watch\?v=/gi, '/v/');
			_0xb2fdx2 = _0xb2fdx2['replace'](/\&amp;feature=related/gi, '');
			obj = DBOj(_0xb2fdx2)[3];
		};
		if (_0xb2fdx2['indexOf'](sv[1]) != -1) {
			_0xb2fdx2 = _0xb2fdx2['replace'](/anc\.yl/gi, 'http://www.youtube.com/p/');
			obj = DBOj(_0xb2fdx2)[3];
		};
		if (_0xb2fdx2['indexOf'](sv[2]) != -1) {
			_0xb2fdx2 = _0xb2fdx2['replace'](/anc\.mp4/gi, 'http:');
			obj = DBOj(_0xb2fdx2)[0];
		};
		if (_0xb2fdx2['indexOf'](sv[3]) != -1) {
			_0xb2fdx2 = _0xb2fdx2['replace'](/anc\.flv/gi, 'http:');
			obj = DBOj(_0xb2fdx2)[0];
		};
		if (_0xb2fdx2['indexOf'](sv[4]) != -1) {
			_0xb2fdx2 = _0xb2fdx2['replace'](/megafun\.vn/gi, '');
			obj = DBOj(_0xb2fdx2)[1];
		};
		if (_0xb2fdx2['indexOf'](sv[5]) != -1) {
			_0xb2fdx2 = _0xb2fdx2['replace'](/\.html/gi, '.xml');
			obj = DBOj(_0xb2fdx2)[2];
		};
		if (_0xb2fdx2['indexOf'](sv[6]) != -1) {
			_0xb2fdx2 = _0xb2fdx2['replace'](/you\.bay68/gi, 'http://youtube.com');
			obj = DBOj(_0xb2fdx2)[1];
		};
		if (_0xb2fdx2['indexOf'](sv[7]) != -1) {
			_0xb2fdx2 = _0xb2fdx2['replace'](/ps1\.bay68/gi, 'https://picasaweb.google.com');
			obj = DBOj(_0xb2fdx2)[1];
		};
		if (_0xb2fdx2['indexOf'](sv[8]) != -1) {
			_0xb2fdx2 = _0xb2fdx2['replace'](/ps2\.bay68/gi, 'https://picasaweb.google.com');
			obj = DBOj(_0xb2fdx2)[1];
		};
		if (_0xb2fdx2['indexOf'](sv[9]) != -1) {
			_0xb2fdx2 = _0xb2fdx2['replace'](/ps3\.bay68/gi, 'https://picasaweb.google.com');
			obj = DBOj(_0xb2fdx2)[1];
		};
		for (var _0xb2fdxd = 10; _0xb2fdxd & lt; sv['length']; _0xb2fdxd++) {
			if (_0xb2fdx2['indexOf'](sv[_0xb2fdxd]) != -1) {
				obj = DBOj(_0xb2fdx2)[0];
			};
		};
		if (Number(_0xb2fdx8)) {
			name_ep = '<span>\u0110ang xem:</span> ' + _0xb2fdx8 + '';
		}
		else {
			if (_0xb2fdx8['length'] & gt; = 5) {
				name_ep = '<span>\u0110ang xem:</span> ' + _0xb2fdx8 + '';
			}
			else {
				if (!Number(_0xb2fdx8) & amp; & amp; _0xb2fdx8['length'] & lt; 5) {
					name_ep = '<span>\u0110ang xem:</span> ' + _0xb2fdx8 + '';
				};
			};
		};
		$_(pl)['innerHTML'] = obj;
		$_(playing)['innerHTML'] = name_ep;
	};
	this['Qstr'] = function () {
		str = window['location']['href'];
		part = str.GetPart('p');
		(part == null) ? part = '0/1/' + d_spk(0, 0) + '' : false;
		a = part['split']('/')[0];
		b = part['split']('/')[1];
		c = decodeURI(part['split']('/')[2]);
		(l_spi & gt; = 2) ? this.Load(d_spk(a, b), c) : this.Load(data, 'Full_time');
	};
};
var DBOj = function (_0xb2fdx2) {
	_em = 'type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" autostart="true" width="100%" height="100%"';
	return obj = ['<embed name="flashplayer" src="http://data.yophim.com/gk/player.swf" FlashVars="plugins=http://data.yophim.com/gk/plugins/proxy.swf&proxy.link=' + _0xb2fdx2 + '&autostart=true&skin=http://360s.vn/phim/grab/skin.swf" ' + _em + ' />', '<embed id="player" src="http://megafun.vn/common/player/player.swf" flashvars="autostart=true&file=' + _0xb2fdx2 + '&streamer=http://ctl.vsolutions.vn/ctl/video/?bts=Bay68&skin=http://360s.vn/phim/grab/skin.swf" ' + _em + '/>', '<embed ' + _em + ' flashvars="plugins=http://phimvang.org/player/plugins/ListBox.swf,http://phimvang.org/player/plugins/proxy.swf&proxy.list=' + _0xb2fdx2 + '&repeat=list&autostart=true" src="http://phimvang.org/player/player.swf?logo.file=http://phimvang.org/img/logo-trans.png&logo.hide=false&logo.position=top-right&logo.margin=-1010&skin=http://phimvang.org/player/plugins/skin_full.swf" name="flashplayer"/>', '<embed src="' + _0xb2fdx2 + '?modestbranding=1&version=3&hl=vi_VN&rel=0&autoplay=1&showsearch=0&iv_load_policy=3" ' + _em + ' allownetworking="internal"/>'];
};
M = new ANCMedia();
M.Play();
M.Qstr();